package org.example.admin.service;


import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import org.example.admin.entity.Dish;
import java.util.List;

public interface DishService {
    List<Dish> selectDish();

    List<Dish> selectByStoreId(Long storeId);

    public PageInfo<Dish> searchDishByName(
            Integer pageNum, Integer pageSize,
            String keyword, Integer storeId) ;

    int updateDish(Dish dish);

    int addDish(Dish dish);

    int deleteDish(Long dishId);

    Dish selectById(Long dishId);
}
